package com.acc.softmgr.business.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SoftmgrSoftinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int count = -1;

    public SoftmgrSoftinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setCount(int count) {
        this.count=count;
    }

    public int getCount() {
        return count;
    }

    public Criteria getCriteria() {
        if (oredCriteria.size() != 0) {return oredCriteria.get(0);}
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idIsNull() {
            addCriterion("sub_system_id is null");
            return (Criteria) this;
        }

        public Criteria andSub_system_idIsNotNull() {
            addCriterion("sub_system_id is not null");
            return (Criteria) this;
        }

        public Criteria andSub_system_idEqualTo(Integer value) {
            addCriterion("sub_system_id =", value, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idNotEqualTo(Integer value) {
            addCriterion("sub_system_id <>", value, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idGreaterThan(Integer value) {
            addCriterion("sub_system_id >", value, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("sub_system_id >=", value, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idLessThan(Integer value) {
            addCriterion("sub_system_id <", value, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idLessThanOrEqualTo(Integer value) {
            addCriterion("sub_system_id <=", value, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idIn(List<Integer> values) {
            addCriterion("sub_system_id in", values, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idNotIn(List<Integer> values) {
            addCriterion("sub_system_id not in", values, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idBetween(Integer value1, Integer value2) {
            addCriterion("sub_system_id between", value1, value2, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andSub_system_idNotBetween(Integer value1, Integer value2) {
            addCriterion("sub_system_id not between", value1, value2, "sub_system_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategory_idIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategory_idEqualTo(Integer value) {
            addCriterion("category_id =", value, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idNotEqualTo(Integer value) {
            addCriterion("category_id <>", value, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idGreaterThan(Integer value) {
            addCriterion("category_id >", value, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("category_id >=", value, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idLessThan(Integer value) {
            addCriterion("category_id <", value, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idLessThanOrEqualTo(Integer value) {
            addCriterion("category_id <=", value, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idIn(List<Integer> values) {
            addCriterion("category_id in", values, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idNotIn(List<Integer> values) {
            addCriterion("category_id not in", values, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idBetween(Integer value1, Integer value2) {
            addCriterion("category_id between", value1, value2, "category_id");
            return (Criteria) this;
        }

        public Criteria andCategory_idNotBetween(Integer value1, Integer value2) {
            addCriterion("category_id not between", value1, value2, "category_id");
            return (Criteria) this;
        }

        public Criteria andSoft_nameIsNull() {
            addCriterion("soft_name is null");
            return (Criteria) this;
        }

        public Criteria andSoft_nameIsNotNull() {
            addCriterion("soft_name is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_nameEqualTo(String value) {
            addCriterion("soft_name =", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameNotEqualTo(String value) {
            addCriterion("soft_name <>", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameGreaterThan(String value) {
            addCriterion("soft_name >", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameGreaterThanOrEqualTo(String value) {
            addCriterion("soft_name >=", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameLessThan(String value) {
            addCriterion("soft_name <", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameLessThanOrEqualTo(String value) {
            addCriterion("soft_name <=", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameLike(String value) {
            addCriterion("soft_name like", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameNotLike(String value) {
            addCriterion("soft_name not like", value, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameIn(List<String> values) {
            addCriterion("soft_name in", values, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameNotIn(List<String> values) {
            addCriterion("soft_name not in", values, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameBetween(String value1, String value2) {
            addCriterion("soft_name between", value1, value2, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_nameNotBetween(String value1, String value2) {
            addCriterion("soft_name not between", value1, value2, "soft_name");
            return (Criteria) this;
        }

        public Criteria andSoft_versionIsNull() {
            addCriterion("soft_version is null");
            return (Criteria) this;
        }

        public Criteria andSoft_versionIsNotNull() {
            addCriterion("soft_version is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_versionEqualTo(String value) {
            addCriterion("soft_version =", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionNotEqualTo(String value) {
            addCriterion("soft_version <>", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionGreaterThan(String value) {
            addCriterion("soft_version >", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionGreaterThanOrEqualTo(String value) {
            addCriterion("soft_version >=", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionLessThan(String value) {
            addCriterion("soft_version <", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionLessThanOrEqualTo(String value) {
            addCriterion("soft_version <=", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionLike(String value) {
            addCriterion("soft_version like", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionNotLike(String value) {
            addCriterion("soft_version not like", value, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionIn(List<String> values) {
            addCriterion("soft_version in", values, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionNotIn(List<String> values) {
            addCriterion("soft_version not in", values, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionBetween(String value1, String value2) {
            addCriterion("soft_version between", value1, value2, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_versionNotBetween(String value1, String value2) {
            addCriterion("soft_version not between", value1, value2, "soft_version");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearIsNull() {
            addCriterion("soft_update_this_year is null");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearIsNotNull() {
            addCriterion("soft_update_this_year is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearEqualTo(String value) {
            addCriterion("soft_update_this_year =", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearNotEqualTo(String value) {
            addCriterion("soft_update_this_year <>", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearGreaterThan(String value) {
            addCriterion("soft_update_this_year >", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearGreaterThanOrEqualTo(String value) {
            addCriterion("soft_update_this_year >=", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearLessThan(String value) {
            addCriterion("soft_update_this_year <", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearLessThanOrEqualTo(String value) {
            addCriterion("soft_update_this_year <=", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearLike(String value) {
            addCriterion("soft_update_this_year like", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearNotLike(String value) {
            addCriterion("soft_update_this_year not like", value, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearIn(List<String> values) {
            addCriterion("soft_update_this_year in", values, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearNotIn(List<String> values) {
            addCriterion("soft_update_this_year not in", values, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearBetween(String value1, String value2) {
            addCriterion("soft_update_this_year between", value1, value2, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_update_this_yearNotBetween(String value1, String value2) {
            addCriterion("soft_update_this_year not between", value1, value2, "soft_update_this_year");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionIsNull() {
            addCriterion("soft_waiting_update_version is null");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionIsNotNull() {
            addCriterion("soft_waiting_update_version is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionEqualTo(String value) {
            addCriterion("soft_waiting_update_version =", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionNotEqualTo(String value) {
            addCriterion("soft_waiting_update_version <>", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionGreaterThan(String value) {
            addCriterion("soft_waiting_update_version >", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionGreaterThanOrEqualTo(String value) {
            addCriterion("soft_waiting_update_version >=", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionLessThan(String value) {
            addCriterion("soft_waiting_update_version <", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionLessThanOrEqualTo(String value) {
            addCriterion("soft_waiting_update_version <=", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionLike(String value) {
            addCriterion("soft_waiting_update_version like", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionNotLike(String value) {
            addCriterion("soft_waiting_update_version not like", value, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionIn(List<String> values) {
            addCriterion("soft_waiting_update_version in", values, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionNotIn(List<String> values) {
            addCriterion("soft_waiting_update_version not in", values, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionBetween(String value1, String value2) {
            addCriterion("soft_waiting_update_version between", value1, value2, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_waiting_update_versionNotBetween(String value1, String value2) {
            addCriterion("soft_waiting_update_version not between", value1, value2, "soft_waiting_update_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionIsNull() {
            addCriterion("soft_recommend_version is null");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionIsNotNull() {
            addCriterion("soft_recommend_version is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionEqualTo(String value) {
            addCriterion("soft_recommend_version =", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionNotEqualTo(String value) {
            addCriterion("soft_recommend_version <>", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionGreaterThan(String value) {
            addCriterion("soft_recommend_version >", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionGreaterThanOrEqualTo(String value) {
            addCriterion("soft_recommend_version >=", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionLessThan(String value) {
            addCriterion("soft_recommend_version <", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionLessThanOrEqualTo(String value) {
            addCriterion("soft_recommend_version <=", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionLike(String value) {
            addCriterion("soft_recommend_version like", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionNotLike(String value) {
            addCriterion("soft_recommend_version not like", value, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionIn(List<String> values) {
            addCriterion("soft_recommend_version in", values, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionNotIn(List<String> values) {
            addCriterion("soft_recommend_version not in", values, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionBetween(String value1, String value2) {
            addCriterion("soft_recommend_version between", value1, value2, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_recommend_versionNotBetween(String value1, String value2) {
            addCriterion("soft_recommend_version not between", value1, value2, "soft_recommend_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionIsNull() {
            addCriterion("soft_newest_version is null");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionIsNotNull() {
            addCriterion("soft_newest_version is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionEqualTo(String value) {
            addCriterion("soft_newest_version =", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionNotEqualTo(String value) {
            addCriterion("soft_newest_version <>", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionGreaterThan(String value) {
            addCriterion("soft_newest_version >", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionGreaterThanOrEqualTo(String value) {
            addCriterion("soft_newest_version >=", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionLessThan(String value) {
            addCriterion("soft_newest_version <", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionLessThanOrEqualTo(String value) {
            addCriterion("soft_newest_version <=", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionLike(String value) {
            addCriterion("soft_newest_version like", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionNotLike(String value) {
            addCriterion("soft_newest_version not like", value, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionIn(List<String> values) {
            addCriterion("soft_newest_version in", values, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionNotIn(List<String> values) {
            addCriterion("soft_newest_version not in", values, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionBetween(String value1, String value2) {
            addCriterion("soft_newest_version between", value1, value2, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_newest_versionNotBetween(String value1, String value2) {
            addCriterion("soft_newest_version not between", value1, value2, "soft_newest_version");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesIsNull() {
            addCriterion("soft_experience_notes is null");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesIsNotNull() {
            addCriterion("soft_experience_notes is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesEqualTo(String value) {
            addCriterion("soft_experience_notes =", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesNotEqualTo(String value) {
            addCriterion("soft_experience_notes <>", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesGreaterThan(String value) {
            addCriterion("soft_experience_notes >", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesGreaterThanOrEqualTo(String value) {
            addCriterion("soft_experience_notes >=", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesLessThan(String value) {
            addCriterion("soft_experience_notes <", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesLessThanOrEqualTo(String value) {
            addCriterion("soft_experience_notes <=", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesLike(String value) {
            addCriterion("soft_experience_notes like", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesNotLike(String value) {
            addCriterion("soft_experience_notes not like", value, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesIn(List<String> values) {
            addCriterion("soft_experience_notes in", values, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesNotIn(List<String> values) {
            addCriterion("soft_experience_notes not in", values, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesBetween(String value1, String value2) {
            addCriterion("soft_experience_notes between", value1, value2, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_experience_notesNotBetween(String value1, String value2) {
            addCriterion("soft_experience_notes not between", value1, value2, "soft_experience_notes");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressIsNull() {
            addCriterion("soft_official_address is null");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressIsNotNull() {
            addCriterion("soft_official_address is not null");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressEqualTo(String value) {
            addCriterion("soft_official_address =", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressNotEqualTo(String value) {
            addCriterion("soft_official_address <>", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressGreaterThan(String value) {
            addCriterion("soft_official_address >", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressGreaterThanOrEqualTo(String value) {
            addCriterion("soft_official_address >=", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressLessThan(String value) {
            addCriterion("soft_official_address <", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressLessThanOrEqualTo(String value) {
            addCriterion("soft_official_address <=", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressLike(String value) {
            addCriterion("soft_official_address like", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressNotLike(String value) {
            addCriterion("soft_official_address not like", value, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressIn(List<String> values) {
            addCriterion("soft_official_address in", values, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressNotIn(List<String> values) {
            addCriterion("soft_official_address not in", values, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressBetween(String value1, String value2) {
            addCriterion("soft_official_address between", value1, value2, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andSoft_official_addressNotBetween(String value1, String value2) {
            addCriterion("soft_official_address not between", value1, value2, "soft_official_address");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatebyIsNull() {
            addCriterion("createby is null");
            return (Criteria) this;
        }

        public Criteria andCreatebyIsNotNull() {
            addCriterion("createby is not null");
            return (Criteria) this;
        }

        public Criteria andCreatebyEqualTo(String value) {
            addCriterion("createby =", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyNotEqualTo(String value) {
            addCriterion("createby <>", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyGreaterThan(String value) {
            addCriterion("createby >", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyGreaterThanOrEqualTo(String value) {
            addCriterion("createby >=", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyLessThan(String value) {
            addCriterion("createby <", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyLessThanOrEqualTo(String value) {
            addCriterion("createby <=", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyLike(String value) {
            addCriterion("createby like", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyNotLike(String value) {
            addCriterion("createby not like", value, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyIn(List<String> values) {
            addCriterion("createby in", values, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyNotIn(List<String> values) {
            addCriterion("createby not in", values, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyBetween(String value1, String value2) {
            addCriterion("createby between", value1, value2, "createby");
            return (Criteria) this;
        }

        public Criteria andCreatebyNotBetween(String value1, String value2) {
            addCriterion("createby not between", value1, value2, "createby");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatebyIsNull() {
            addCriterion("updateby is null");
            return (Criteria) this;
        }

        public Criteria andUpdatebyIsNotNull() {
            addCriterion("updateby is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatebyEqualTo(String value) {
            addCriterion("updateby =", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyNotEqualTo(String value) {
            addCriterion("updateby <>", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyGreaterThan(String value) {
            addCriterion("updateby >", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyGreaterThanOrEqualTo(String value) {
            addCriterion("updateby >=", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyLessThan(String value) {
            addCriterion("updateby <", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyLessThanOrEqualTo(String value) {
            addCriterion("updateby <=", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyLike(String value) {
            addCriterion("updateby like", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyNotLike(String value) {
            addCriterion("updateby not like", value, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyIn(List<String> values) {
            addCriterion("updateby in", values, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyNotIn(List<String> values) {
            addCriterion("updateby not in", values, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyBetween(String value1, String value2) {
            addCriterion("updateby between", value1, value2, "updateby");
            return (Criteria) this;
        }

        public Criteria andUpdatebyNotBetween(String value1, String value2) {
            addCriterion("updateby not between", value1, value2, "updateby");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(String value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(String value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(String value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(String value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(String value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(String value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLike(String value) {
            addCriterion("deleted like", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotLike(String value) {
            addCriterion("deleted not like", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<String> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<String> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(String value1, String value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(String value1, String value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}